package com.recommend.recommendkeyword.mapper;

import com.recommend.recommendkeyword.entity.Comment;
import org.apache.ibatis.annotations.Mapper;

import java.sql.Timestamp;
import java.util.List;

@Mapper
public interface CommentMapper {
    int insertComment(int recommendId, int userId, Timestamp commentTime, String commentContent);
    List<Comment> getCommentByRecommend(int recommendId);
}
